*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;   
}

ul li::before {
    content: "";
    list-style: none;
}

.divFaultDesc{
    background: none;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    height: 29px;
    padding: 0 6px;
    margin: 0 20px;
}

input::-webkit-input-placeholder{
    color:#fff;
}

input::-moz-placeholder{   /* Mozilla Firefox 19+ */
    color:#fff;
}

input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
    color:#fff;
}

input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
    color:#fff;
}

.alarm-container {
    width: 100%;
    height: 100%;
    margin: 0px;
    min-width: 100%; 
    min-height: 100%;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.alarm-aside{
    width: 250px;
    height: 100%;
    min-width: 250px;
    margin-right: 30px;
}

.alarm-main{
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    background: rgba(9,29,69,0.5);
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 600px;
    position: relative;
}

.alarm-main-content{
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    height: calc(100% - 55px);
}

.alarm-aside-selector{
    width: 100%;
    height: 100%;
}

.alarm-main-query {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    height: 55px;
    color: #fff;
    margin: 0px auto;
    padding: 15px;
}

/*.alarm-main-query section{
   margin-right: 20px;
}*/

.picker-trend {
    width: 100px;
    margin: 0 3px;
}

.button-trend {
    color: #000;
    background: #91cdff;
    width:58px;
    height: 28px;
    border:none;
    border-radius: 5px;
}

.alarm-main-fault>section{
    width: 100%;
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
}

.alarm-main-fault .flex{
    width: 100%;
    height: 100%;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction:column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

select{
    width: 40px;
    height: 26px;
}

input[type="number"]{
    display: inline-block;
    width: 40px;
    height: 26px;
    text-align: center;
}

/*表格*/

.alarm-flex{
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction:column;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
        -ms-flex-direction:column;
            flex-direction:column;
}

.alarm-full{
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
}

.alarm-list{
    width: 100%;
    height: 100%;
}

.alarm-main-fault{
    width: 100%;
    height: 100%;
}

.alarm-main-header{
    height: 40px;
    border-bottom: 2px solid #86bdec;
    padding: 0 20px;
}

.alarm-main-header span{
    display: inline-block;
    width: 100px;
    height: 100%;
    line-height: 44px;
    color: #93cdff;
    cursor: pointer;
    border:1px solid #86bdec;
    border-bottom: 2px solid transparent;
    background: #092845;
    text-align: center;
    font-size: 14px;
    position: relative;
    opacity: 0.4;
    bottom: 0;
}

.alarm-main-header span.on{
    opacity: 1;
    bottom: -2px;
}

.alarm-main-content{
    overflow: hidden;
}

.alarm-table{
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    padding: 10px;
    height: calc(100% - 92px);
    overflow-y: auto;
}

/*footer样式*/

.alarm-footer {
    color: #fff;
    background-color: rgba(9,29,69,0.6);   
    font-size: 14px;
    padding: 17px 46px;
}

.alarm-title {
    margin-right: 30px;
}

.check-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    border:1px solid #2ec69a;
    position: relative;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    top: 5px;
}

.check-box input[type=checkbox] {
    width: 12px;
    height: 12px;
    z-index: 2;
    opacity: 0;
}

.check-box input[type=checkbox]:checked + span.check {
    display: inline-block;
}

.check-box .check{
    display: none;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -2px;
    margin-top: -2px;
    /* background: #2ec69a; */
}

.alarm-level {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.alarm-level .form-label{
    width: 80px;
}

.alarm-category .form-label-turb{
    margin-right: 16px;
}

.alarm-category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.alarm-category .turb-span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

/*===========================================*/

/*表格样式增加*/

.fault-table {
    color: white;
}

/*列th*/

.td-data-table-column {
    font-size: 15px;
    text-align: center;
    /*height: 100px;*/
}

/*行td*/

.td-data-table-cell {
    font-size: 15px;
    text-align: center;
}

.td-data-table-cell .code-span {
    padding: 2px 6px;
    border-radius: 5px;
}

.fault-table th.td-data-table-column {
    background-color: #9f9b63;
}

.fault-table th:first-child,th:last-child  {
    padding: 0;
}

.fault-table th{
    padding: 0;
}

.fault-table td:first-child,td:last-child  {
    padding: 0;
}

.fault-table, .fault-table th, .fault-table td {
    border: 1.5px solid #040c1e;
}

.fault-table td {
    background-color: #064e8b;
}

.alarm-hide {
    display: none;
}

/* 时间控件样式 */

:host/deep/ .ui-inputtext{
    background: transparent;
    color:#fff;
}

/* 日期input框样式 */

:host/deep/ .ui-inputtext{
    background: transparent;
    color:#fff;
}

/*表格插件样式  */

:host/deep/ .ui-datatable table{
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
    font-size: 14px;
}

/*表格导出按钮*/

:host/deep/ .ui-datatable .ui-datatable-footer{
    border-top: 0 none;
    background: transparent;
    border: none;
}

.footer{
    border: 1px solid red;
}

/* thead */

:host/deep/ .ui-datatable th.ui-state-default{
    color: white;
    background-color: #9f9b63;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content{
    border: 1px solid #555;
}

:host/deep/ .ui-column-title{
    width: 10px;
    height: 10px;
}

/* th */

:host/deep/ .ui-datatable .ui-widget-content{
    border: 1px solid #555;
    background: #064e8b;
    color: #fff; 
    text-align: center;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd{
    border: 1px solid #555;
    background: #064e8b;
    color: #fff; 
}

/* tfoot */

:host/deep/ .ui-paginator-bottom{
    border: none;
    background: rgba(18,48,100, 0.6);
}

:host/deep/ .ui-datatable .ui-state-default{
    border: 1px solid #555;
    background: #0360a6;
    color: #fff;
}

:host/deep/ .ui-paginator a:not(.ui-state-disabled):not(.ui-state-active):hover{
    background: #fba059;
    color: #fff;
}

/*===========================================*/

.alarm-hide {
    display: none;
}

:host/deep/ .ui-widget-content .ui-datatable-emptymessage{
    opacity: 0!important;
    
}

:host/deep/ .ui-paginator .ui-paginator-page.ui-state-active {
    background: #fba059;
}

:host/deep/ .ui-datatable .ui-datatable-thead>tr>th,:host/deep/ .ui-datatable .ui-datatable-tfoot>tr>td,:host/deep/ .ui-datatable .ui-datatable-data>tr>td{
    padding: 0;
    height: 38px;    
}

/*进度条*/

.progress-bar{
    height: 4px;
    overflow: hidden;
    background: rgba(221, 221, 221, 0.4);
    position: absolute;
    top: -100px;
    left: -360px;
    right: 0px;
}

.progress-bar::after {
  content: ' ';
  height: 100%;
  width: 33.3vw;
  -webkit-animation: gradcolours 5s steps(1) infinite, loadthird 1s infinite linear;
  animation: gradcolours 5s steps(1) infinite, loadthird 1s infinite linear;
  display: block;
  -webkit-transform-origin: top left;
  transform-origin: top left;
}

.exp {
 
    width: 54px;
    line-height: 27px;
    display: inline-block;    
    border-radius: 5px;
    border: none;
    background: #91cdff;
    text-align: center; 
    cursor: pointer;    
}

.exp a{
    color: #000;
    font-size: 12px;
    font-style: normal;
}

#ex {
    font-size: 12px;
}

:host/deep/.ui-datatable-header {
    display: none;
    border-bottom: 0 none;
    text-align: center;
}